<include file="public:header" />
<include file="public:left" />
<div class="panel-group" id="accordion">
    <form action="{:U('role/userEditor')}" method="post"   >
    <button type="submit" class="btn btn-primary">保存配置</button>
    <br>
    <br>
            <div class="role-relation-modules">
                <label class="checkbox-inline">
                    <input type="checkbox"  onchange="checkBoxAll($(this))" alt="checkbox-inline-check1"> 全选
                </label>
                <div class="role-relation-modules-func">
                    <volist name="list" id="val">
                        <label class="checkbox-inline">
                            <input type="checkbox" <if condition="in_array($val['id'],$role) eq true " >checked </if> name="user[]"  value="{$val.id}" class="checkbox-inline-check1">{$val.username}
                        </label>
                    </volist>
                </div>
            </div>
        <input type="hidden" name="id" value="{$id}">
    </form>
</div>
<include file="public:footer" />